API Free WeekHundreds of APIs are free to call this week.Browse free APIs

GPT-4 (older v0314)

openai/gpt-4-0314

GPT-4-0314 is the first version of GPT-4 released, with a context length of 8,192 tokens, and was supported until June 14. Training data: up to Sep 2021.

Input price
$30.00USD / 1M tokens
Output price
$60.00USD / 1M tokens
Context window
N/A
Max output
4.1K

Try the model

Playground

Open playground
Input⌘ / Ctrl + Enter

Try a prompt

4.1K max output
Input$30.00/MOutput$60.00/M
OutputReady

Your response will appear here

Choose an example or write a prompt, then click Run.

Model card

Specifications

Pricing

Input
$30 / 1M tokens
Output
$60 / 1M tokens

Context & modalities

Max output
4,096 tokens
Input
Text
Output
Text

Capabilities

Chat
Supported
Vision
Not supported
Reasoning
Not supported
Structured output
Supported
Function calling
Supported
Audio input
Not supported

Access

Provider
OpenAI
Model ID
openai/gpt-4-0314
Execution
sync
Base URL
https://api.sandbase.ai
API
Responses API
Endpoint
/v1/responses
API
Chat Completions API
Endpoint
/v1/chat/completions

Start building

Send your first request

Choose either supported API with unified authentication and usage tracking.

Production API
Responses API endpoint
https://api.sandbase.ai/v1/responses
Model ID
openai/gpt-4-0314
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/responses" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "model": "openai/gpt-4-0314",
  "input": "Hello",
  "max_output_tokens": 2048
}
SANDBASE_JSON
)
printf '%s\n' "$result"

Choose your model

Compare models

All language models
ModelContextInput / 1MOutput / 1MReleased
OpenAI—$30.00$60.00May 28, 2023
OpenAI1.1M$2.00$10.00Sep 29, 2026
OpenAI1.1M$2.00$10.00Sep 29, 2026
OpenAI1.1M$0.10$0.50Sep 22, 2026
OpenAI1.1M$0.10$0.50Sep 22, 2026
OpenAI1.1M$2.00$10.00Sep 22, 2026

Questions

FAQ

How do I call OpenAI GPT-4 (older v0314) through SandBase?

Create a SandBase API key, then send requests with the model ID "openai/gpt-4-0314" to Responses API (/v1/responses) or Chat Completions API (/v1/chat/completions) at https://api.sandbase.ai. The request examples on this page show the exact payload.

How much does OpenAI GPT-4 (older v0314) cost?

$30 per 1M input tokens and $60 per 1M output tokens, billed per request from your SandBase balance. Discounts, when available, are shown in the pricing on this page.

Which features does OpenAI GPT-4 (older v0314) support?

OpenAI GPT-4 (older v0314) supports function calling, structured output. See Specifications above for the full list.

Do I need a separate OpenAI account?

No. One SandBase API key and balance gives you access to OpenAI GPT-4 (older v0314) and the other models in the catalog; you do not need to sign up with OpenAI separately.