SDAIA: allam-2-7b

Price, performance, capabilities, and a ready-to-use request for allam-2-7b.
Compare models
allam-2-7b
AvailableSDAIAChat
Input / Output
$0.05 / $0.08
Context
32K
Max output
4K
Modalities
Chat

Getting started

  1. Create API key

    Create a key in Console, then use it with every model on the platform.

  2. Send your first request

    Copy the example for your language and run it against the endpoint.

    chat_completionOpenAI-compatible
    POST/v1/chat/completions
    curl https://api.tokenlab.sh/v1/chat/completions \
      -H "Content-Type: application/json" \
      -H "Authorization: Bearer sk-xxx" \
      -d '{
        "model": "allam-2-7b",
        "messages": [
          {"role": "user", "content": "Hello!"}
        ]
      }'

Pricing

Official price is the model maker's public baseline. TokenLab price is what you pay for this model on TokenLab.

Pricing

Per 1M tokens
TokenLab price
Input$0.05
Output$0.08
Per 1M tokens
Official price
Input$0.05
Output$0.08
Per 1M tokens

Usage & activity

Success rate is the share of requests that completed. Latency is how long a full response takes; P95 means 95% of requests finished within that time.

Usage & availability

Last 24 hours

No data yet

Model performance
Metrics appear once privacy and data volume thresholds are met.

Data is based on aggregate user requests, excluding status checks.

Open in Console

Open allam-2-7b in Console with a prompt ready to edit or send.

Help me try allam-2-7b with a short message at /v1/chat/completions. Show the reply, latency, and cost.

Use cases

01

Agents and tools

Handle reasoning, support triage, tool calls, and multi-step tasks.

02

Coding

Generate, review, or debug code in the tools you already use.

03

Knowledge assistants

Build chat, search, and retrieval with a clear price and capability profile.

04

Side-by-side test

Compare response quality, latency, and price side by side.

Prompt examples

Write a concise support reply and list the assumptions behind it.

Review this API design and call out the top three integration risks.

Turn a long changelog into release notes a non-engineer would read.

Cost calculator

1M tokens
0.5M tokens
Estimated monthly cost$0.09

FAQ

How much does allam-2-7b cost?

On TokenLab, allam-2-7b costs Input $0.05 / Output $0.08 Per 1M tokens. The pricing table above shows the full breakdown.

How do I test allam-2-7b?

Open allam-2-7b in Create. A sample for /v1/chat/completions will be ready to try.

Which endpoint should allam-2-7b use?

Use https://api.tokenlab.sh/v1/chat/completions for allam-2-7b. The request example below shows the matching code shape.

Can I test allam-2-7b before integrating it?

Yes. Open Console starts a ready draft for allam-2-7b and keeps your prompt after sign-in, so you don’t lose context.

Which operations does allam-2-7b support?

allam-2-7b supports chat_completion. Select an operation above to see its endpoint and request example.

Related models