Back to models

GPT-5 Nano

openai/gpt-5-nano

Retiring — Retires on 11 December 2026.

The GPT-5 tier for mechanical, high-volume pipeline steps

GPT-5 nano is the smallest model of the GPT-5 family, launched by OpenAI on 7 August 2025 alongside GPT-5 and GPT-5 mini. It keeps 400K of context and up to 128K of output, for text.

0.11 / 0.88cr / 1K

Context 400K · Released Aug 7, 2025

Eco · half price0.055 / 0.44 cr / 1K

Prompt cache read: 0.011 cr / 1,000 tokens

In your currency, for 1 million input tokens: ≈ $0.06 (rate of Dec 2, 2026, operator fees not included).

Other currencies

37 F CFA · 142 CDF · 0.73 GHS · 7.93 KES · 106 MWK · 3.88 MZN · 91 RWF · 1.40 SLE · 163 TZS · 256 UGX · 1.28 ZMW

Capabilities
  • Tools
  • JSON mode
  • Vision
  • PDF
  • Streaming
  • Prompt caching

Last updated Nov 30, 2026

Read the full description

GPT-5 nano is the smallest model of the GPT-5 family, launched by OpenAI on 7 August 2025 alongside GPT-5 and GPT-5 mini. It keeps 400K of context and up to 128K of output, for text.

It is built for the mechanical steps of a pipeline: routing a message to the right queue, tagging at scale, pulling structured data out of text, first-pass filtering, driving a scripted assistant. Function calling, JSON output and streaming are available.

On Tchavi you pay with mobile money, no card and no KYC, and credits never expire. One API key for 100+ models: nano for the sorting, GPT-5 mini or GPT-5 for the judgement.

What this model does well

  • 400K tokens of context

    Whole batches of messages or texts to process in one call

  • Sorting and tagging

    Classification, routing and first-pass filtering

  • Images and PDFs

    Reads images and documents alongside text

  • Tools + JSON

    Function calling and structured JSON output

  • Up to 128K tokens of output

    Room to return a full tagged batch

  • Streaming

    Show the answer as it is written

Example prompts

  • Here are 50 customer messages. For each one, return JSON with the destination queue (billing, technical, sales) and urgency (low, medium, high).

  • Extract the name, phone number and city of each person mentioned in this text. Return JSON and use null when the information is missing.

Good to know

What to know before you start: limits, settings and what we keep.
  • Built for mechanical steps, not judgement: for reasoning or finer writing, use GPT-5 mini or GPT-5.
We never save what you send to a model or what it returns. We log only your settings (like size or voice) and how much was used, for billing. Files you attach in the playground are deleted after 24 hours.

Frequently asked questions

GPT-5 nano or GPT-5 mini: which should I pick?

Nano for mechanical steps: routing, tagging, simple extraction, filtering. Mini as soon as the output needs better writing or real reasoning.

GPT-5 nano or GPT-4o mini?

Nano is GPT-5 generation with 400K of context. GPT-4o mini stays an option if your pipeline already runs on it; test both on a sample.

GPT-5 nano or GPT-5.4 nano?

GPT-5.4 nano is the next generation, also text only. Keep GPT-5 nano if your pipeline is already validated on it, try 5.4 for new flows.

How much context, and does it accept images?

400K tokens of context, up to 128K of output. It reads images and PDFs as well as text.

See the 5 other questions
How do I call GPT-5 nano with my OpenAI SDK?

Swap the base URL for Tchavi's, use your Tchavi API key and set model: "gpt-5-nano". The rest of your code stays the same.

How much does GPT-5 Nano cost?

For 1,000 words sent and 1,000 words received, expect 1.287 credits (under 1 FCFA). Usage is counted in tokens, small pieces of words (in English, 1,000 words make about 1,300 tokens), so the exact price follows the length of your messages.

When will GPT-5 Nano be retired?

Its provider retires GPT-5 Nano on 11 December 2026. From that day, requests are refused. Plan a switch to another model before then.

Can I pay with mobile money, without a bank card?

Yes. Top up your Tchavi account with Orange Money, MTN MoMo, M-Pesa or another mobile money operator. No bank card is needed. Credits land as soon as the payment is confirmed and are deducted as you use them.

Is the API compatible with OpenAI's?

Yes. Keep your current OpenAI SDK, just change the base URL to Tchavi's (shown in the API tab) and use your Tchavi key. The rest of your code stays the same.

API

import Tchavi from '@tchavi/sdk';

const client = new Tchavi({ apiKey: 'API_KEY' });

const response = await client.chat.completions.create({
  model: 'gpt-5-nano',
  messages: [
  {
    "role": "user",
    "content": "Hello!"
  }
],
});

console.log(response.choices[0].message.content);
console.log('Credits used:', response.tchavi.credits_used);

API parameters

Every parameter this model accepts on the API. Check the SDK for full typings.

modelRequired
string

ID of the chat model (e.g. `gpt-5-nano`).

messagesRequired
Array<{ role, content }>

Conversation messages. Each item has a `role` (system/user/assistant) and a `content` that's either a plain string or an array of content blocks (`text`, `image_url`, `document_url`).

temperature
number
Default: 1

Sampling temperature between 0 and 2. Higher values = more random.

max_tokens
integer

Maximum number of tokens to generate in the response.

max_completion_tokens
integer

Alias for `max_tokens`. Either field works; if both are sent, `max_completion_tokens` wins.

stream
boolean
Default: false

If true, partial message deltas are streamed as Server-Sent Events.

tools
Array<{ type, function }>

Function-calling toolbox. Pass an array of `{ type: "function", function: { name, description, parameters } }`. Returned tool calls land in `choices[].message.tool_calls`. Only models with `supportsTools: true` accept this.

tool_choice
"auto" | "none" | { type, function }

How the model picks among tools: `"auto"` (default), `"none"` to force a plain text reply, or `{ type: "function", function: { name } }` to force a specific tool. Only with `supportsTools: true`.

response_format
{ type: "json_object" | "text" }

Constrain the output. Pass `{ type: "json_object" }` to force valid JSON (the model still needs a JSON instruction in your prompt). Only models with `supportsJsonMode: true` honour this.

reasoning_effort
"low" | "medium" | "high"

Reasoning depth. Values `"low"`, `"medium"`, `"high"`. Silently ignored when the model does not reason.

Pricing

per 1,000 tokens
0.11 credits
Input 0.11 · Output 0.88 cr/1K

How billing works

  • Billed per token used, down to a thousandth of a credit.
  • A typical message (500 in, 150 out) costs about —, or 0.187 credits.
  • Prompt cache reads: — per 1K tokens (0.011 credits).
Real-world scenarios
Per day
Per week
Per month

Estimated over 30 days, for a typical message: ~500 input + ~150 output tokens, billed to the thousandth of a credit.

A 10 000 F CFA top-up gives you about ~160 443 questions. Pay with Orange Money, MTN MoMo or M-Pesa, no Visa card needed.

Ready to use GPT-5 Nano?

Bonus credits on your first top-up · No card to sign up