Spec sheet
Everything you need to decide, with the date of every measurement.
API compatible with the OpenAI SDK: you change base_url and the key. Below are the real limits and the price per million of each capability. You choose the capability on every call; the alias belongs to the service and does not change if we change the engine serving it. Every row with a date is a measurement taken against the service.
01 · Specifications
Engine, context and price per call
| Item | Value |
|---|---|
| Compatibility | OpenAI SDK · base_url=https://api.moondatum.tech/v1 · comprobado el 22/10/2026 con el SDK oficial de OpenAI (paquete openai 2.24.0) |
| Aliases exposed by the API | moondatum-rapido · moondatum-estandar · moondatum-profundo · moondatum-codigo — service aliases, not third-party brands |
| Engine | You choose the capability, not the engine brand: moondatum-rapido, moondatum-estandar, moondatum-profundo or moondatum-codigo. If we change which engine serves a capability, your code, your key and your price stay the same —the alias belongs to the service—, and if the change materially affects what you receive, active accounts are notified by email before it takes effect. |
| Engine context window | What limits you is this API's input cap: 262,144 tokens —that's how AI usage is measured— per request and 1.44 MB (row below). The window of the engine serving it may be larger; it does not change what you can send. |
| Input per request | 262,144 tokens · 1.44 MB · if you go over, 413. It is the full window of the smallest of the four capabilities, measured against the service on 22 October 2026. |
| Cache and output price | They derive from each capability's rate with the same weights: cache = input ×0.02 · output = input ×4. On Standard that gives $0.05 and $10.00 per million. |
| How tokens are counted | tokens = input ×1 + input already read from cache ×0.02 + output ×4, and the total is multiplied by the multiplier of the capability requested (1.00 · 1.00 · 2.64 · 2.50). |
| Streaming | Yes, with stream_options.include_usage: usage arrives in the last event · verified on 22 October 2026 |
| Latency and concurrency | 5 pedidos en paralelo: mediana 0,94 s, el más lento 1,35 s (medido el 22/10/2026) · 0,894 a 1,353 s en respuestas cortas (la misma corrida); el recibo de la portada tardó 1,785 s. If you are going to send more than 5 in parallel, write to us first and we test it with you. |
Errors, test bench, tools and support
| Item | Value |
|---|---|
| Maximum wait | 300 s before cutting off the engine. |
| Error codes | 401 invalid key · 402 no balance · 413 request too large (you went over the input cap) · 429 web test bench limit. |
| Web test bench (no key) | 20/h and 300 output tokens · API with key: no output cap |
| Tools (tool calling) | Yes, in OpenAI format: tools and tool_choice in the request, tool_calls in the response. Your client program runs them: the API carries them and runs nothing. Measured against the service on 22 October 2026 across the four capabilities. |
| How it is measured | 1 input = 1 token; output weighs 4 and cached text weighs 0.02. It sends usage.x_moondatum.tokens_facturables —a contract field: the debit is counted in tokens—. |
| Where inference runs | The engine is operated by a third party and we do not publish a region or promise one in the terms. What is verified is where your account and your history live: a server in São Paulo, as the privacy policy says. |
| Availability and SLA | There is no SLA. If there is an interruption, active accounts are notified by email, and a request that fails is not charged. |
| Failures | A request that fails is not charged and stays in the history with the reason. An empty answer from a low max_tokens is not a failure: it consumes and the warning appears in usage.x_moondatum.aviso. |
| Tools in streaming | Measured on 22 October 2026 across the four capabilities: the first fragment carries id and function.name, the pieces concatenate into valid JSON, the close is tool_calls, the stream ends in [DONE] and usage arrives and counts. In those calls the arguments came in a single fragment; the client concatenates anyway. |
Every row with a date is a measurement taken against the service; the date sits next to the number and the record of each measurement can be requested by email. The rest are the conditions of the service, written as they are.
02 · Which capability for which task
The capability is chosen on every call, in the model field. It does not change the plan price and there is nothing else to buy.
| Task | Capability | Multiplier | Input per million | Yields with the Club plan |
|---|---|---|---|---|
| Answering a message, summarizing two paragraphs, sorting or classifying a list | Capabilitymoondatum-rapido | Multiplier×1,00 | Input per million$2.50 | Yields with the Club plan2,000,000 tokens |
| Building a quote, summarizing a long document, drafting something a customer is going to read | Capabilitymoondatum-estandar | Multiplier×1,00 | Input per million$2.50 | Yields with the Club plan2,000,000 tokens |
| Reading a contract, analyzing a hard complaint, deciding between several options with data | Capabilitymoondatum-profundo | Multiplier×2,64 | Input per million$6.60 | Yields with the Club plan≈757,000 tokens |
| Reading or writing code, explaining a repository, reviewing a diff | Capabilitymoondatum-codigo | Multiplier×2,50 | Input per million$6.25 | Yields with the Club plan800,000 tokens |
If in doubt, send moondatum-estandar: it covers the three tasks in the headline and yields 2,000,000 tokens per Club month. The other two exist for work that is not everyday work, and that is why they consume more per word.
03 · The tokens that get drawn down
Text is measured in tokens —1 input is 1 token—; what the engine writes weighs 4 and cached text weighs 0.02. The total is multiplied by the multiplier of the capability you requested.
Writing costs more than reading: what you send is read in one pass and what the engine answers is built word by word.
A concrete case, the one on the home page: the call on the receipt moved 536 of raw text and drew 1,409 tokens — 0.070% of the Club month. At that measure, it yields 1,419 answers of the same size.
04 · The cap per request
262,144of raw text
262,144 tokens of input per request — 1.44 MB. If you go over, it answers 413 and nothing is charged. The measured detail, with the date, is in limits and behavior.
05 · One call, with curl
Put your key where it says TU_CLAVE —it is the placeholder in the example, in place of the real key—. The alias goes in the model field: if you do not send it, Standard answers.
See the full request and response
curl https://api.moondatum.tech/v1/chat/completions \
-H "Authorization: Bearer ***" \
-H "Content-Type: application/json" \
-d '{"model":"moondatum-estandar","messages":[{"role":"user","content":"Hola"}]}'
What comes back, besides the text:
{"usage":{"prompt_tokens":12,"completion_tokens":40,
"x_moondatum":{"tokens_facturables":172,
"cache_tokens":0,"tier":"estandar"}}}
The usage fields are OpenAI's and are not renamed: billing is x_moondatum.tokens_facturables, and what that field sends is what gets drawn down.
06 · Tools: the model asks, your program runs
The API accepts tools and tool_choice in OpenAI format on any call, and returns tool_calls when the model needs a function. Measured against the service on 22 October 2026: all four capabilities return tool_calls and the full round trip closes (the model asks, your program runs, the model answers). Streaming with tools was measured on 22 October 2026 across the four capabilities: the id, the name and the arguments came in a single fragment, and the client concatenates anyway. Row 18 of the table states the scope.
Your program runs the tool, not us. Moondatum carries the request and the response: it runs no code, opens no files and has no access to your machine. If your program does not run the function and return the result, the model never sees what the tool found.
See the full request, response and round trip
The request, with one tool:
curl https://api.moondatum.tech/v1/chat/completions \
-H "Authorization: Bearer ***" \
-H "Content-Type: application/json" \
-d '{"model":"moondatum-estandar",
"messages":[{"role":"user",
"content":"¿Qué hora es en Asunción? Usá la herramienta"}],
"tools":[{"type":"function","function":{
"name":"hora_local",
"description":"Devuelve la hora local de una ciudad",
"parameters":{"type":"object",
"properties":{"ciudad":{"type":"string"}},
"required":["ciudad"]}}}],
"tool_choice":"auto"}'
The tool request comes back: finish_reason in tool_calls and arguments as JSON text. The id belongs to the model and is returned as is.
{"choices":[{"finish_reason":"tool_calls",
"message":{"role":"assistant","content":"",
"tool_calls":[{"id":"call_v4nqr5vs","type":"function",
"function":{"name":"hora_local",
"arguments":"{\"ciudad\":\"Asunción\"}"}}]}}]}
Your program runs the function and returns the result as a message with role: tool and the same tool_call_id. The model answers in text (with tools as in the first request):
-d '{"messages":[
{"role":"user","content":"¿Qué hora es en Asunción? Usá la herramienta"},
{"role":"assistant","content":"",
"tool_calls":[{"id":"call_v4nqr5vs","type":"function",
"function":{"name":"hora_local",
"arguments":"{\"ciudad\":\"Asunción\"}"}}]},
{"role":"tool","tool_call_id":"call_v4nqr5vs",
"content":"{\"hora\":\"14:32\",\"zona\":\"America/Asuncion\"}"}],
"tools":[{"type":"function","function":{"name":"hora_local", ...}}]}'
In streaming the fragments travel in delta.tool_calls: each one carries index, the first carries id and function.name, and function.arguments arrives in pieces that are concatenated and parsed at the end. The last event carries finish_reason in tool_calls and usage keeps coming out and counting the tokens of the request. Measured against the service on 22 October 2026 across the four capabilities: in those calls the id, the name and the arguments came in a single fragment; the client concatenates anyway.
07 · What you can verify before you pay
The price you pay: what we charge, the receipt of a real call and the formula used to draw it down. If the numbers do not add up, you see it before you buy.
Whether the service is up now: api.moondatum.tech/salud answers with the technical status. It is not an incident history and not an SLA —we do not promise an uptime percentage we cannot sustain—, and if there is an interruption you are notified by email.
That your integration does not depend on the engine: you choose the capability and the moondatum-* alias belongs to the service. If we change which engine serves it, your code, your key and your price stay the same.
The date of every number in this sheet. We do not publish a percentage without the source next to it, because a number without a citation cannot be checked.
What happens if a request fails: it is not charged, and it stays in your history with the reason.
08 · A top-up is a complement, not another door
The Club delivers 2,000,000 tokens a month. If it runs out early, the member tops up at $6.00 per million, up to 3 times: a complement of the plan, and more expensive per token than all three.
09 · Start free, carry on in the Club
Try it with 200,000 tokens. If it works for you, the Club starts at $5 a month.
$9 a month · 2,000,000 tokens · top-ups at $6.00 per million
200,000 tokens to try. Creating the account does not require a card.