OpenAI API

OpenAI API (ChatGPT API) through llmbox: GPT-6, GPT-5.6 and GPT Image 2 with one API key and one balance shared with every other vendor.

10
OpenAI models behind one key
−86%
below direct rates

OpenAI models and pricing

ModelTypeInput · 1MOutput · 1M
GPT-5.6 Lunaopenai/gpt-5.6-lunaText$0.15$0.40
GPT-5.6 Terraopenai/gpt-5.6-terraText$0.50$1.20
GPT-5.6 Solopenai/gpt-5.6-solText$0.80$2.00
GPT-6 Lunaopenai/gpt-6-lunaText$1.50$3.00
GPT-6 Solopenai/gpt-6-solText$1.60$4.00
GPT-6.1 Solopenai/gpt-6.1-solText$1.80$5.00
GPT-6 Astraopenai/gpt-6-astraText$4.00$12.00
GPT Image 2openai/gpt-image-2Imagesfrom $0.09 per image
text-embedding-3-smallopenai/text-embedding-3-smallEmbeddings$0.03 per 1M input tokens
openai/text-embedding-3-largeopenai/text-embedding-3-largeEmbeddings$0.24 per 1M input tokens

Text model prices are per 1M tokens. Reasoning counts as output tokens.

About the OpenAI API

OpenAI models on llmbox

llmbox gives you the OpenAI API through the same OpenAI SDK you already use, but with one key and one base URL for OpenAI and every other vendor in the catalog. You don't need a separate OpenAI account or API key, and usage across all models is deducted from a single prepaid balance as you go. Every request appears in the request log with its status, tokens and cost, so comparing GPT with models from other vendors on quality and price happens inside one app.

The catalog has eight OpenAI models — text models from two generations and one image model:

  • GPT-6 Astra — the most capable OpenAI model in the catalog, for hard reasoning, code and research tasks;
  • GPT-6.1 Sol — the newer Sol model of the GPT-6 generation; OpenAI describes it as close to Astra at lower rates;
  • GPT-6 Sol — for complex code and agent workflows, with reasoning from none to max;
  • GPT-6 Luna — per OpenAI, the most efficient GPT-6 model, built for narrow high-volume tasks;
  • GPT-5.6 Sol — the top model of the GPT-5.6 line, for demanding professional work;
  • GPT-5.6 Terra — the middle GPT-5.6 model, balancing quality and cost;
  • GPT-5.6 Luna — the smallest GPT-5.6 model, for high-volume requests;
  • GPT Image 2 — image generation from a text prompt.

According to OpenAI's documentation, all seven text models share a 1,050,000-token context window and a 128,000-token cap on a single response. They all accept text and images as input, reply with text, and support function calling (with format caveats covered below), JSON-schema output, reasoning and streaming. GPT-5.6 models have knowledge up to February 2026; the GPT-6 generation, up to April–May 2026. The current list of models and their rates is in the table on this page.

What you get

Access works the same way for every vendor on llmbox:

  • one API key for every model in the catalog;
  • an OpenAI-compatible API with Chat Completions, Responses and image generation;
  • one prepaid balance that covers usage across all models;
  • a request log with the status, tokens and cost of every call;
  • separate keys per project, each with its own spend limit.

Text models and GPT Image 2 are called from one client with one key. That helps when a product has several steps: a small model tags incoming tickets, a larger one drafts the reply, and GPT Image 2 draws an illustration — all paid from the same balance.

How to connect

  1. Create an API key in the API keys section of your dashboard. You can copy it later with the Show key button.
  2. Give your client the key and the llmbox base URL from the Quickstart.
  3. Pick a model, for example openai/gpt-5.6-sol, and send your first request.

Topping up is described in Balance and pricing. Don't ship the key in browser or mobile code, where any user can read it. If requests start in a front end, route them through your own server.

Which GPT model to choose

Model names read as generation plus tier. The generation is GPT-5.6 or GPT-6; the tier is Astra, Sol, Terra or Luna. In the GPT-5.6 line, OpenAI maps Sol to the unsuffixed models of earlier GPT-5 families, Terra to the mini tier and Luna to the nano tier.

TaskStart withCompare with
Coding agents in Codex CLI, Responses APIGPT-6.1 SolGPT-6 Astra, GPT-6 Sol
Chat Completions agents with functions, Cursor, OpenCodeGPT-5.6 SolGPT-5.6 Terra, GPT-6 Astra
The hardest reasoning and researchGPT-6 AstraGPT-6.1 Sol
Chatbots, support, data extractionGPT-5.6 TerraGPT-5.6 Luna, GPT-6 Luna
Bulk labeling and short answersGPT-6 Luna or GPT-5.6 LunaGPT-5.6 Terra
Images from a promptGPT Image 2—

A practical approach: start with the smallest model that fits, test it on real data, and move up only where results fall short. The key stays the same when you switch models, but check the result on your own workload — the main differences between the models are listed below.

Function calling: Chat Completions or Responses

GPT-6 models handle functions differently in the two API formats. Per OpenAI's documentation:

  • GPT-6.1 Sol calls functions only in the Responses API; in Chat Completions it works without tools.
  • GPT-6 Sol and GPT-6 Luna call functions in Chat Completions only with reasoning turned off; with reasoning, functions work in the Responses API.
  • GPT-6 Astra and the GPT-5.6 models have no such caveat in OpenAI's documentation.

The rule of thumb: if your agent or tool runs only on Chat Completions and calls functions — as Cursor, OpenCode and many frameworks do — choose GPT-5.6 models or GPT-6 Astra. If you write the agent yourself, use the Responses API, where every OpenAI text model calls functions.

Reasoning effort

Reasoning depth is set per request, without switching models. Allowed levels per OpenAI's documentation:

ModelLevels
GPT-6 Astralow, medium, high, xhigh, max
GPT-6.1 Sollow, medium, high, xhigh, max
GPT-6 Sol, GPT-6 Lunanone, low, medium, high, xhigh, max
GPT-5.6 Sol, Terra, Lunanone, low, medium, high, xhigh, max

Reasoning tokens count as output and are billed at the output rate. On simple requests, none (where available) cuts spend noticeably; keep high levels for tasks where the model really has to plan and check its own work.

Developer tools

OpenAI text models plug into popular coding tools. Codex CLI works through the Responses API, so GPT-6.1 Sol, GPT-6 Astra and the GPT-5.6 models fit it. Cursor and OpenCode work through Chat Completions, so GPT-5.6 models and GPT-6 Astra suit their agent modes best. Cursor features tied to its own models, such as Tab completion, don't work with a third-party key. Ready-made settings for each tool are in Integrations.

What's available through llmbox

You get the models and their core features: reasoning, calling your own functions, JSON-schema output, streaming, image input and web search in the Responses API — at no extra charge, with search results counted as input tokens.

Request formats and supported parameters are covered in Request parameters.

Image generation

GPT Image 2 is a good fit for illustrations, covers, banners and product-card visuals. One request can return several variants to choose from. Generation takes noticeable time, so run it in the background in your product. It pairs well with a text model: a smaller GPT-5.6 model writes a detailed scene description and GPT Image 2 draws from it. Image models from other vendors are collected on the image models page.

Pricing and balance

You pay from a prepaid balance as you go — no subscriptions and no mandatory monthly payments. Text models are billed per input and output token at rates per 1M tokens; GPT Image 2 is billed per generated image.

Your balance is shown in the Balance section of your dashboard. Spend by day and by model is in the Usage section, and every request with its cost is in the Logs section. That lets you compare models not only on answer quality but on what the same workflow actually costs.

Keys and spend control

You can have several keys: one for production, one for testing, one per service. Each key gets its own spend limit; once it's reached, requests with that key stop while other keys keep working. A compromised key is revoked in the dashboard — then issue a new one and update it in your app's environment.

Getting started

  1. Pick a model in the table above and open its page — it lists the rates, a sample request and the use cases the model fits.
  2. Create a key in the dashboard and set up your client as described in How to connect; settings for Codex CLI, Cursor and OpenCode are in Integrations.
  3. Send test requests with a few typical inputs from your workload.
  4. Open the request log: status, tokens and cost per call show whether the model fits or whether to compare it with its neighbor in the table.

FAQ

Which OpenAI models are available?

Text models GPT-6 Astra, GPT-6.1 Sol, GPT-6 Sol, GPT-6 Luna, GPT-5.6 Sol, GPT-5.6 Terra and GPT-5.6 Luna, plus the image model GPT Image 2. The rates for each model are in the table on this page.

Do I need an OpenAI API key?

No. You don't need an OpenAI account or key: create an llmbox key in the API keys section of your dashboard and pass it instead of an OpenAI key, together with the llmbox base URL. The same key works for every model in the catalog, including other vendors.

How is OpenAI API pricing calculated?

Text models are billed per input and output token at rates per 1M tokens; reasoning tokens count as output. GPT Image 2 is billed per generated image. Every request with its cost shows up in the request log.

Is this a subscription?

No. You pay from a prepaid balance as you go: there is no subscription and no monthly fee, and only actual usage is deducted.

How do I top up my balance?

Open the Balance section of your dashboard and add the amount you need in US dollars. The same balance pays for OpenAI models and for every other model in the catalog.

Can I use OpenAI models in Codex CLI, Cursor or OpenCode?

OpenAI text models are available in the Chat Completions and Responses formats, so they work with Codex CLI, Cursor and OpenCode. For agent mode in Cursor and OpenCode, pick GPT-5.6 models or GPT-6 Astra. Setup steps are in the Integrations section of the docs.

What model name do I pass to the API?

The model ID with the vendor prefix, for example openai/gpt-5.6-sol or openai/gpt-6-astra. Each ID is listed in the table on this page and on the model's own page, next to a sample request.

Can I cap spend for one project?

Yes. Create a separate key for the project and set a spend limit on it in your dashboard. Once the limit is reached, that key stops accepting requests while your other keys keep working.

Other vendors