The Matilda API, on our GPUs
Sign in with your Matilda account, create an API key and call Matilda from your own code, served from Melbourne.
$1 input and $5 output per million tokens, excluding GST. Pricing
Client SDK
Chat, streaming, and files
A TypeScript client that follows the OpenAI API’s request shape, with chat, durable streaming, structured output and files.
- npm install @maincode-ai/matilda-client-sdk
- const client = new Matilda({ baseUrl, accessToken })
- await client.chat.create({ input })
- for await (const event of client.chat.stream({ input }))
- await client.files.upload(file)
Agent SDK
Agents, tools, and sessions
Built on the client SDK, it adds named agents, a tool loop, multi-turn sessions and resumable streams.
- npm install @maincode-ai/matilda-agent-sdk
- const result = await run(agent, 'Say hello.')
- for await (const event of stream(agent, prompt))
- await session.run('Show me an example.')
- const toolHandlers: ToolHandlers = { … }
Account management
Keys and usage
Create and revoke keys, and see tokens and requests by day. During early access, we raise limits account by account.
Dedicated capacity or your own instance
Talk to us about reserved capacity on MC-2, or about running your own Matilda model in our facility or your data centre.
More Matilda
Overview
Matilda Chat
Matilda shows its searches and sources before it answers, on the web, your phone and the desktop app.
Explore
Matilda Code
It reads the repo, runs the tests and opens the pull request, in your terminal, the desktop app or CI.
Explore
Enterprise
We train a model on your material and run it in your own instance, in Melbourne or your data centre.
Your own model