Welcome to CoreMazin

Sign in to chat with Truth v2.7 and Secret v3.1 and to build with the API.

At least 10 characters.

By continuing you agree to the Terms and Privacy Policy.

CoreMazin
Chat API keys Vault Runs Usage Quickstart
—
—

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.

Your new key

Copy it now. You will not see it again.

NameKeyCreatedLast usedThis 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.

WhenModelLevelStatusCreditsOutput

Usage

Plans and credits

Recent activity

WhenWhatCredits

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/models models and which levels are available
  • POST /v1/responses model, effort (cooling · heating-up · hot), input (text or messages with images), instructions, tools, stream, max_output_tokens
  • GET /v1/responses/{id} full replay of a run
  • GET /v1/usage credits 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.

Install CoreMazin