What are we making today?
Every run uses credits. Heating Up and Hot think longer and cost more.
API keys
Use a key with Authorization: Bearer cm_sk_…. A key is shown once: store it somewhere safe. Runs draw credits from this account; a monthly cap limits what one key can spend.
Copy it now. You will not see it again.
| Name | Key | Created | Last used | This month |
|---|
Vault
Secrets, logins and authenticator codes, encrypted for your account only. Everything stays hidden until you show it, and it hides itself again after 15 seconds.
Secret can save keys for you without seeing them: ask it to "save my Stripe key to the vault", then type the key into the secure box it opens.
Runs
Every API and console run is recorded. Open one to replay it event by event.
| When | Model | Level | Status | Credits | Output |
|---|
Usage
Plans and credits
Recent activity
| When | What | Credits |
|---|
Quickstart
Base URL https://api.coremazin.com. Create a key under API keys, then:
1. A first call
curl https://api.coremazin.com/v1/responses \
-H "Authorization: Bearer $COREMAZIN_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"truth-v2.7","effort":"cooling","input":"Summarize this week in AI in 5 bullets","tools":["web"]}'
2. Stream it (JavaScript, no SDK needed)
const res = await fetch('https://api.coremazin.com/v1/responses', {
method: 'POST',
headers: { authorization: `Bearer ${process.env.COREMAZIN_API_KEY}`, 'content-type': 'application/json' },
body: JSON.stringify({ model: 'secret-v3.1', effort: 'heating-up', input: 'Write a debounce function in TypeScript', stream: true })
})
const decoder = new TextDecoder()
for await (const chunk of res.body) {
for (const line of decoder.decode(chunk).split('\n'))
if (line.startsWith('data:')) { const e = JSON.parse(line.slice(5)); if (e.delta) process.stdout.write(e.delta) }
}
3. Your own functions
{ "model": "truth-v2.7", "input": "What's the weather in Paris?",
"tools": [{ "type": "function", "name": "get_weather", "description": "Current weather",
"parameters": { "type": "object", "properties": { "city": { "type": "string" } } } }] }
// → status "requires_action" with output [{ type: "function_call", call_id, name, arguments }]
// Run it, then continue:
{ "previous_response_id": "resp_…", "tool_outputs": [{ "call_id": "…", "output": "18°C, clear" }] }
Reference
GET /v1/modelsmodels and which levels are availablePOST /v1/responsesmodel,effort(cooling · heating-up · hot),input(text or messages with images),instructions,tools,stream,max_output_tokensGET /v1/responses/{id}full replay of a runGET /v1/usagecredits left and this key's spend
Stream events: response.created, response.thinking, response.output_text.delta, response.tool_call, response.tool_result, response.function_call, response.completed, error.