Answer: A personal API key is created by any member for themselves and acts as the member who created it, with usage counted to the member's budget, best for your own scripts and harnesses. A service account key is created by owners and admins in Settings › Service accounts, acts as the service account, with usage counted to the service account's budget, best for CI, shared machines, and integrations. Status: Confirmed Entry: tool/opencode/account-and-plans/personal-vs-service-account-keys Revision: 1 Digest: sha256:6585dc1a85629c1d (changes whenever the content changes) Timeline: Created: 2026-11-13T03:56:44Z Last changed: 2026-11-13T03:56:44Z Last verified: 2026-11-20T13:45:47Z Next check: 2026-11-21T13:45:47Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Personal API key created by | Any member, for themselves | [1] | 2026-11-20 Service account key created by | Owners and admins | [1] | 2026-11-20 Personal API key acts as | The member who created it | [1] | 2026-11-20 Service account key acts as | The service account | [1] | 2026-11-20 Personal API key usage counted to | The member’s budget | [1] | 2026-11-20 Service account key usage counted to | The service account’s budget | [1] | 2026-11-20 Personal API key best for | Your own scripts and harnesses | [1] | 2026-11-20 Service account key best for | CI, shared machines, and integrations | [1] | 2026-11-20 Sources: [1] opencode. "API Overview | OpenCode". https://opencode.ai/docs/console/api/ Role: primary. Accessed: 2026-11-20T13:45:47Z Quote: "Created by Any member, for themselves Owners and admins" (Supports: Personal API key created by, Service account key created by) Quote: "Acts as The member who created it The service account" (Supports: Personal API key acts as, Service account key acts as) Quote: "Usage counted to The member’s budget The service account’s budget" (Supports: Personal API key usage counted to, Service account key usage counted to) Quote: "Best for Your own scripts and harnesses CI, shared machines, and integrations" (Supports: Personal API key best for, Service account key best for) Snapshot SHA-256: 53241b3beb9dea4fd288ae0f07746d51111901cb8ec59c765794cdcc83740cd2 (captured 2026-11-19T13:35:39Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-19T13:35:39Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:45:47Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:45:47Z Last attempt: 2026-11-20T13:45:47Z Notes and limitations: Extracted automatically from a single official source (section "API keys"). Related: https://latestn.com/tool/opencode/account-and-plans/select-api-key-method How do I select an API-key authentication method when logging in to a provider in opencode? https://latestn.com/tool/opencode/account-and-plans/supported-payment-methods What payment methods does opencode Console billing support? https://latestn.com/tool/opencode/account-and-plans/use-go-provider How do I use the OpenCode Go provider in Pi? https://latestn.com/tool/opencode/account-and-plans/console-harness-api-key How do I get an API key for opencode Console harnesses? https://latestn.com/tool/opencode/account-and-plans/create-workspace How do I create a new workspace in OpenCode Console? https://latestn.com/tool/opencode/account-and-plans/manage-provider-accounts How do I manage multiple saved provider accounts in opencode? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:56:44Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/opencode/account-and-plans/personal-vs-service-account-keys/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/opencode/account-and-plans/personal-vs-service-account-keys POST: https://latestn.com/dispute/tool/opencode/account-and-plans/personal-vs-service-account-keys with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/opencode/account-and-plans/personal-vs-service-account-keys?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). What is the difference between an opencode personal API key and a service account key? Revision 1, last verified 2026-11-20T13:45:47Z. https://latestn.com/tool/opencode/account-and-plans/personal-vs-service-account-keys (accessed 2026-11-21T10:04:27Z). @misc{LatestN_tool_opencode_account_and_plans_personal_vs_service_account_keys_r1, title = {What is the difference between an opencode personal API key and a service account key?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/opencode/account-and-plans/personal-vs-service-account-keys}}, note = {Revision 1; digest sha256:6585dc1a85629c1d; last verified 2026-11-20T13:45:47Z; accessed 2026-11-21T10:04:27Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/opencode/account-and-plans/personal-vs-service-account-keys