[{"data":1,"prerenderedAt":476},["ShallowReactive",2],{"docs-page:\u002Fdocs\u002Fresources-and-billing":3,"docs-navigation-links":444},{"id":4,"title":5,"body":6,"description":436,"extension":437,"meta":438,"navigation":439,"path":440,"seo":441,"stem":442,"__hash__":443},"docs\u002Fdocs\u002Fresources-and-billing.md","Resources and billing",{"type":7,"value":8,"toc":429},"minimark",[9,14,18,85,88,144,151,154,158,161,164,168,217,220,228,239,242,246,253,256,290,349,368,372,375,422,425],[10,11,13],"h2",{"id":12},"sandbox-sizes","Sandbox sizes",[15,16,17],"p",{},"Select CPU and memory when creating a chat:",[19,20,25],"pre",{"className":21,"code":22,"language":23,"meta":24,"style":24},"language-json shiki shiki-themes github-dark","{\n  \"instance\": {\n    \"cpu\": 4,\n    \"memory\": 8\n  }\n}\n","json","",[26,27,28,37,47,62,73,79],"code",{"__ignoreMap":24},[29,30,33],"span",{"class":31,"line":32},"line",1,[29,34,36],{"class":35},"s95oV","{\n",[29,38,40,44],{"class":31,"line":39},2,[29,41,43],{"class":42},"sDLfK","  \"instance\"",[29,45,46],{"class":35},": {\n",[29,48,50,53,56,59],{"class":31,"line":49},3,[29,51,52],{"class":42},"    \"cpu\"",[29,54,55],{"class":35},": ",[29,57,58],{"class":42},"4",[29,60,61],{"class":35},",\n",[29,63,65,68,70],{"class":31,"line":64},4,[29,66,67],{"class":42},"    \"memory\"",[29,69,55],{"class":35},[29,71,72],{"class":42},"8\n",[29,74,76],{"class":31,"line":75},5,[29,77,78],{"class":35},"  }\n",[29,80,82],{"class":31,"line":81},6,[29,83,84],{"class":35},"}\n",[15,86,87],{},"Current choices:",[89,90,91,107],"table",{},[92,93,94],"thead",{},[95,96,97,101,104],"tr",{},[98,99,100],"th",{},"Resource",[98,102,103],{},"Allowed values",[98,105,106],{},"Default",[108,109,110,122,133],"tbody",{},[95,111,112,116,119],{},[113,114,115],"td",{},"CPU",[113,117,118],{},"2 or 4 vCPU",[113,120,121],{},"2 vCPU",[95,123,124,127,130],{},[113,125,126],{},"Memory",[113,128,129],{},"2, 4, or 8 GiB",[113,131,132],{},"2 GiB",[95,134,135,138,141],{},[113,136,137],{},"Disk",[113,139,140],{},"fixed at 10 GiB",[113,142,143],{},"10 GiB",[15,145,146,147,150],{},"Any allowed CPU value may be paired with any allowed memory value. Unsupported\nor odd values return ",[26,148,149],{},"422",".",[15,152,153],{},"Size belongs to the chat and is reused by later turns. Create another chat to\nchange it.",[10,155,157],{"id":156},"when-billing-runs","When billing runs",[15,159,160],{},"Billing uses sandbox wall-clock time. Queue time does not consume compute\ncredit. Timing starts when a sandbox is ready and ends when the turn completes,\nfails, times out, or is canceled.",[15,162,163],{},"The sandbox is stopped after every turn.",[10,165,167],{"id":166},"current-compute-rates","Current compute rates",[89,169,170,182],{},[92,171,172],{},[95,173,174,176,179],{},[98,175,100],{},[98,177,178],{},"Rate per unit-second",[98,180,181],{},"Rate per unit-hour",[108,183,184,195,206],{},[95,185,186,189,192],{},[113,187,188],{},"vCPU",[113,190,191],{},"$0.0000164",[113,193,194],{},"≈ $0.059",[95,196,197,200,203],{},[113,198,199],{},"Memory GiB",[113,201,202],{},"$0.0000053",[113,204,205],{},"≈ $0.019",[95,207,208,211,214],{},[113,209,210],{},"Disk GiB",[113,212,213],{},"$0.000000036",[113,215,216],{},"≈ $0.00013",[15,218,219],{},"Metering is per-second, so the per-second column is the authoritative rate and\nthe hourly figures are it multiplied by 3600:",[19,221,226],{"className":222,"code":224,"language":225,"meta":24},[223],"language-text","second_rate =\n  cpu × 0.0000164\n  + memory_gib × 0.0000053\n  + disk_gib × 0.000000036\n\nturn_cost = second_rate × sandbox_seconds\n","text",[26,227,224],{"__ignoreMap":24},[15,229,230,231,234,235,238],{},"The default 2 vCPU, 2 GiB, 10 GiB sandbox runs at ",[26,232,233],{},"$0.00004376\u002Fs",", or ",[26,236,237],{},"$0.157536","\nfor a full hour of running compute.",[15,240,241],{},"Model-token charges go directly to the provider key supplied with the run and\nare separate from Epho compute credit.",[10,243,245],{"id":244},"prepaid-credit","Prepaid credit",[15,247,248,249,252],{},"Compute is deducted from the team's prepaid ledger in micro-USD. Epho refuses\na new turn with ",[26,250,251],{},"402 Payment Required"," when no positive credit remains.",[15,254,255],{},"Read the balance:",[19,257,261],{"className":258,"code":259,"language":260,"meta":24,"style":24},"language-bash shiki shiki-themes github-dark","curl https:\u002F\u002Fapp.epho.io\u002Fapi\u002Fv1\u002Fcredits \\\n  -H \"Authorization: Bearer $EPHO_API_KEY\"\n","bash",[26,262,263,276],{"__ignoreMap":24},[29,264,265,269,273],{"class":31,"line":32},[29,266,268],{"class":267},"svObZ","curl",[29,270,272],{"class":271},"sU2Wk"," https:\u002F\u002Fapp.epho.io\u002Fapi\u002Fv1\u002Fcredits",[29,274,275],{"class":42}," \\\n",[29,277,278,281,284,287],{"class":31,"line":39},[29,279,280],{"class":42},"  -H",[29,282,283],{"class":271}," \"Authorization: Bearer ",[29,285,286],{"class":35},"$EPHO_API_KEY",[29,288,289],{"class":271},"\"\n",[19,291,293],{"className":21,"code":292,"language":23,"meta":24,"style":24},"{\n  \"balance\": {\n    \"micros\": 4230000,\n    \"cents\": 423,\n    \"usd\": \"4.23\"\n  }\n}\n",[26,294,295,299,306,318,330,340,344],{"__ignoreMap":24},[29,296,297],{"class":31,"line":32},[29,298,36],{"class":35},[29,300,301,304],{"class":31,"line":39},[29,302,303],{"class":42},"  \"balance\"",[29,305,46],{"class":35},[29,307,308,311,313,316],{"class":31,"line":49},[29,309,310],{"class":42},"    \"micros\"",[29,312,55],{"class":35},[29,314,315],{"class":42},"4230000",[29,317,61],{"class":35},[29,319,320,323,325,328],{"class":31,"line":64},[29,321,322],{"class":42},"    \"cents\"",[29,324,55],{"class":35},[29,326,327],{"class":42},"423",[29,329,61],{"class":35},[29,331,332,335,337],{"class":31,"line":75},[29,333,334],{"class":42},"    \"usd\"",[29,336,55],{"class":35},[29,338,339],{"class":271},"\"4.23\"\n",[29,341,342],{"class":31,"line":81},[29,343,78],{"class":35},[29,345,347],{"class":31,"line":346},7,[29,348,84],{"class":35},[15,350,351,352,355,356,359,360,363,364,367],{},"One USD equals ",[26,353,354],{},"1,000,000"," micros. The ",[26,357,358],{},"micros"," value is the precise ledger\nbalance; ",[26,361,362],{},"cents"," and ",[26,365,366],{},"usd"," are display-friendly forms.",[10,369,371],{"id":370},"concurrency","Concurrency",[15,373,374],{},"Teams default to five active turns. Turns beyond the team's cap remain queued\nwithout consuming a slot or billable compute and emit:",[19,376,378],{"className":21,"code":377,"language":23,"meta":24,"style":24},"{\n  \"type\": \"status\",\n  \"phase\": \"queued\",\n  \"message\": \"Waiting for an available run slot…\"\n}\n",[26,379,380,384,396,408,418],{"__ignoreMap":24},[29,381,382],{"class":31,"line":32},[29,383,36],{"class":35},[29,385,386,389,391,394],{"class":31,"line":39},[29,387,388],{"class":42},"  \"type\"",[29,390,55],{"class":35},[29,392,393],{"class":271},"\"status\"",[29,395,61],{"class":35},[29,397,398,401,403,406],{"class":31,"line":49},[29,399,400],{"class":42},"  \"phase\"",[29,402,55],{"class":35},[29,404,405],{"class":271},"\"queued\"",[29,407,61],{"class":35},[29,409,410,413,415],{"class":31,"line":64},[29,411,412],{"class":42},"  \"message\"",[29,414,55],{"class":35},[29,416,417],{"class":271},"\"Waiting for an available run slot…\"\n",[29,419,420],{"class":31,"line":75},[29,421,84],{"class":35},[15,423,424],{},"Queued turns start as active turns settle.",[426,427,428],"style",{},"html pre.shiki code .s95oV, html code.shiki .s95oV{--shiki-default:#E1E4E8}html pre.shiki code .sDLfK, html code.shiki .sDLfK{--shiki-default:#79B8FF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html pre.shiki code .svObZ, html code.shiki .svObZ{--shiki-default:#B392F0}html pre.shiki code .sU2Wk, html code.shiki .sU2Wk{--shiki-default:#9ECBFF}",{"title":24,"searchDepth":39,"depth":39,"links":430},[431,432,433,434,435],{"id":12,"depth":39,"text":13},{"id":156,"depth":39,"text":157},{"id":166,"depth":39,"text":167},{"id":244,"depth":39,"text":245},{"id":370,"depth":39,"text":371},"Size sandboxes, understand per-second compute charges, and monitor team credit.","md",{},true,"\u002Fdocs\u002Fresources-and-billing",{"title":5,"description":436},"docs\u002Fresources-and-billing","y9d2UNjaojW9nnSsDPJYCr4nHh2vBzqpLcoAKfAqfGQ",[445,448,451,454,457,460,463,466,469,470,473],{"path":446,"title":447},"\u002Fdocs","Overview",{"path":449,"title":450},"\u002Fdocs\u002Fauthentication","Authentication",{"path":452,"title":453},"\u002Fdocs\u002Fchats-and-turns","Chats and turns",{"path":455,"title":456},"\u002Fdocs\u002Ferrors","Errors and statuses",{"path":458,"title":459},"\u002Fdocs\u002Ffiles-and-repositories","Files and repositories",{"path":461,"title":462},"\u002Fdocs\u002Fharnesses-and-models","Harnesses and models",{"path":464,"title":465},"\u002Fdocs\u002Fmcp-and-environment","MCP and environment",{"path":467,"title":468},"\u002Fdocs\u002Fquickstart","Quickstart",{"path":440,"title":5},{"path":471,"title":472},"\u002Fdocs\u002Fresuming-chats","Resuming chats",{"path":474,"title":475},"\u002Fdocs\u002Frunning-agents","Running agents",1787992836635]