OpenAI

OpenAI GPT-4

OpenAI's flagship model, GPT-4 is a large-scale multimodal language model capable of solving difficult problems with greater accuracy than previous models due to its broader general knowledge and advanced reasoning...

Context window
8Ktokens
Max output
4Ktokens
Input
$30.00/ 1M
Output
$60.00/ 1M

Quick start

from openai import OpenAI

client = OpenAI(
    base_url="https://neurongate.net/v1",
    api_key="sk-ng-your-api-key",
)

completion = client.chat.completions.create(
    model="openai/gpt-4",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(completion.choices[0].message.content)

Cost

Example requestTokensCost
Short prompt1K in$0.03
Typical chat turn1K in · 500 out$0.06
Document analysis10K in · 2K out$0.42
Long context100K in · 10K out$3.60
Estimated cost per request$0.06

Prices in USD. Billed per token actually used, from a balance prepaid in USDT, USDC, ETH or BTC.

Frequently asked questions

What is OpenAI GPT-4?

OpenAI's flagship model, GPT-4 is a large-scale multimodal language model capable of solving difficult problems with greater accuracy than previous models due to its broader general knowledge and advanced reasoning...

How much does OpenAI GPT-4 cost?

OpenAI GPT-4 is priced at $30 per 1 million input tokens and $60 per 1 million output tokens when accessed via NeuronGate. You pay per token — no subscriptions required. Top up with crypto (USDT, USDC, ETH, BTC).

Does OpenAI GPT-4 support streaming?

Yes, OpenAI GPT-4 supports streaming responses via NeuronGate's API. Use the standard "stream": true parameter in your request.

What is the context window of OpenAI GPT-4?

OpenAI GPT-4 has a context window of 8K tokens (~6K words). Maximum output is 4K tokens.

Does OpenAI GPT-4 support function calling (tools)?

Yes, OpenAI GPT-4 supports function calling / tool use via NeuronGate's standard API.

How do I use OpenAI GPT-4 with NeuronGate?

Create a NeuronGate account, top up your balance with crypto, generate an API key, and use the model id openai/gpt-4 in your requests. NeuronGate uses the OpenAI-compatible API format — set your base URL to https://neurongate.net/v1.

Related posts

All posts