Home / Player guide / Chapter 3 of 16
AI keys
Connect one of 8 AI providers, keep your key safe, and know what your provider bills.
Live mode runs your team on your own AI key. After this chapter you can connect a provider, choose a model and decide whether the server remembers your key. You also know which actions cost money and which are free.
The 8 providers
| Provider | Default model |
|---|---|
| Claude | claude-haiku-5-5 |
| Gemini | gemini-3.5-flash-lite |
| OpenAI | gpt-4.1-mini |
| OpenRouter | openrouter/auto |
| Groq | llama-3.3-70b-versatile |
| DeepSeek | deepseek-chat |
| Mistral | mistral-small-latest |
| xAI Grok | grok-3-mini |
The default applies when you leave Model (optional) empty. You may type any other model your key can use. A model name has up to 80 characters: letters, digits and . _ : / -. The game calls each provider at its own fixed address. You name a model, never a URL.
Your whole team uses the provider and model you connect.
Connect my AI
You meet this choice right after founding, on the screen Your team does real work. Later, open System → Settings, or click the DEMO badge. Both open Company settings.
- Choose Connect my AI.
- Pick the Provider.
- Paste your API key. It has 20 to 500 characters.
- Type a Model, or leave it empty.
- Keep Remember my key on the server, encrypted ticked, or untick it.
- Press Connect and enter the city on that screen, or Connect provider in settings.
Connecting sends one small test request: “Reply with OK.”, capped at 32 output tokens. Your provider bills that request. On success, Company settings shows “Connected” with the provider’s name.
| Message | Meaning |
|---|---|
| The provider rejected this key. Check the API key and model access. | The key is wrong, or it cannot use that model. |
| The provider did not answer. Try again or start in demo mode. | The provider failed or took too long. |
| Too many attempts. Wait a moment and try again. | You used up your connection checks. |
| Let the current tasks finish before changing modes. | A task is still running or waiting. |
You get 3 connection checks in a row. After that, one more every 45 seconds.
Remember my key
With the box ticked, the server seals your key with AES-256-GCM. Only your office can open it. On your next visit your team reconnects without a new test request.
With the box unticked, the key lives only in your running office. An office with no player stops 30 seconds after you leave. Your next visit then starts in demo mode until you connect again.
Two actions delete a remembered key:
- choosing Demo mode,
- connecting again with the box unticked.
Hosted limits
| Limit | Value |
|---|---|
| Requests per hour, per key | 150 |
| Output tokens per request | 4,096 |
| Tool calls per work item | 12 |
| Requests per work item | 13 at most |
| Teammates working at once | 2 |
| Tasks you send | 5 in a row, then about 1 every 7 seconds |
The hourly cap stops a runaway loop on your money. Past 150 requests in an hour, a task fails with “Request limit reached. Try again later.”
Who bills what
Your provider bills you for every request your team makes on your key. MyOffic counts tokens and turns, and shows no money amount for your key. In a teammate’s Live tab, the cost line reads “Provider billing”. Check your spending in your provider’s own console.
Requests on your key come from:
- tasks you send from the command bar,
- tasks your team lead splits out for teammates,
- tasks one teammate delegates to another,
- revisions and reviews of that work,
- the final project report,
- one short call after a finished task that saves 1 to 3 lessons.
One work item makes at most 13 requests: up to 12 tool calls, then the final answer.
These never call your key:
- demo mode,
- the city, its people and their chats,
- the news and MyNet,
- your teammates’ minds, moods and free time,
- Your desk, the League, the Stock exchange and the Bank.
Help the town with this device
Townspeople’s lines come from the game server or from players’ browsers. They never use your key. You can lend your browser to the town with System → Help the town with this device.
- The game asks first and names the size: Qwen2.5 0.5B Instruct, 429 MB.
- The download happens once, from Hugging Face, and stays in your browser’s cache.
- The model runs on your GPU through WebGPU, or on the CPU without it.
- The menu shows the progress, then how many lines your browser wrote.
- Click the same item again to turn it off.
The item appears when your browser runs WebAssembly workers on 2 or more processor cores. If the model cannot run, nothing changes in the game.
GitHub for your agents
With a GitHub token, your agents work in your repositories. They read files, create branches, commit and open pull requests.
- Create a fine-grained personal access token on GitHub.
- Limit it to the repositories your team may use.
- Give it Contents and Pull requests, both read and write.
- Open System → Settings → GitHub for your agents.
- Paste the token and choose Remember it on the server, encrypted or not.
- Press Connect GitHub.
The server checks a new token with GitHub. Your AI provider is not called for that check. The agents never see the token, and the game removes it from every tool result and answer. One commit holds at most 20 files and 400 KB. Agents cannot write under .github/, where workflows run with your repository’s secrets. Disconnect GitHub removes the token and its remembered copy.
Keep your keys safe
- Make a separate key for MyOffic. You can then delete it without breaking your other apps.
- Set a spending limit at your provider, if it offers one.
- Paste a key only into the API key field in Company settings.
- Keep keys out of the command bar, chats, MyNet and the application form.
- Never send a key by email to anyone, support@myoffic.com included.
- If a key leaks, delete it at your provider first. Then connect a new one.
Still stuck? Write to support@myoffic.com.