Your Trusted B2B Sourcing Platform About | Help | Sign In | Post Request
Buying Guide

How to Calculate CNC Machining Cost Per Part: A 2025 Pricing Formula for International Buyers

Introduction: Why the True Cost Per CNC Part Is Hard to Pin Down

When you request quotes for CNC-machined parts from Chinese suppliers, the prices can vary by 300% or more for the same geometry. You might see $2.80 for a small aluminum bracket and $12.00 for a steel hinge bracket, but without a systematic way to break down those numbers, you're left guessing. This guide gives you a data-informed framework to calculate the real CNC machining cost per part—one that accounts for machine time, material premiums, setup amortization, and the hidden fees that often inflate your final invoice. By the end, you'll have a practical calculator template and benchmark ranges for aluminum, steel, and plastics across China, the US, and Europe.

Interior view of an industrial building featuring machinery and metal conveyor systems. (Photo: Hoang NC / Pexels)

Key Cost Drivers: What Actually Determines the Price

Every CNC quote is built from the same fundamental blocks. Understanding these drivers lets you compare apples to apples and negotiate with confidence.

1. Machine Hourly Rate

The biggest variable is the machine's hourly rate, which reflects the capital cost, maintenance, tooling, and operator skill. In our supplier directory, rates range from $50–$80 per hour for standard 3-axis mills in China, $80–$120 in the US, and $90–$140 in Europe. For 5-axis machines, add 50–100% to those figures. The actual machining time per part is the second half of this equation—complex geometries with tight tolerances (e.g., ±0.01 mm) can double or triple cycle time.

2. Material Premium

Raw material cost is straightforward, but the premium you pay for sourcing, cutting, and handling is not. For example, 6061 aluminum might cost $3–$4 per kg in China, but after sourcing, sawing, and deburring, the effective per-part material cost can be $0.50–$1.50 for small brackets. Steel (e.g., 4140) is heavier and often requires heat treatment, adding $2–$5 per part. Plastics like POM or nylon are cheaper per kg but have lower machining speeds, increasing cycle time.

3. Setup and Tooling Amortization

Every job has a setup cost—programming, fixturing, and test runs. For a one-off prototype, setup might be $50–$150. For a production run of 500 parts, that setup is amortized to just $0.10–$0.30 per part. Always ask for the setup fee separately; a low unit price with a high setup fee can be a trap for small batches.

4. Hidden Fees: Packaging, Shipping, and Quality Control

International buyers often overlook packaging and shipping. A $2.80 part might cost $30 to ship if it's heavy or oddly shaped. Also, some suppliers include inspection and quality control (QC) reports in their overhead, while others charge extra. Our directory's suppliers typically include basic QC at no cost, but third-party inspection (e.g., SGS) can add $50–$100 per batch.

The Step-by-Step CNC Machining Cost Per Part Calculator

Here's a template you can use to estimate the true cost per part. Plug in your own numbers or use the benchmark ranges provided.

  1. Estimate machining time per part (T) – Based on the supplier's quote or your own CAM simulation. For a small bracket (100×50×30 mm) with moderate features, expect 5–15 minutes on a 3-axis mill.
  2. Calculate machine cost (C_machine) – C_machine = T (hours) × hourly rate. Example: 0.15 hours × $60/hr = $9.00.
  3. Add material cost (C_material) – Use the supplier's material quote or market price × part weight × 1.2 (scrap factor). Example: 0.5 kg × $4/kg × 1.2 = $2.40.
  4. Add setup amortization (C_setup) – Setup fee ÷ order quantity. Example: $100 setup ÷ 500 parts = $0.20/part.
  5. Add tooling wear (C_tooling) – Usually 5–10% of machine cost. Example: $9.00 × 0.07 = $0.63.
  6. Add overhead and profit (C_overhead) – Typically 20–40% of subtotal. Example: subtotal = $9.00 + $2.40 + $0.20 + $0.63 = $12.23; overhead 25% = $3.06.
  7. Add packaging and logistics (C_logistics) – If you're shipping internationally, allocate $0.50–$5.00 per part depending on size and freight method.

Total cost per part = C_machine + C_material + C_setup + C_tooling + C_overhead + C_logistics.

Using the example above, the total would be $12.23 + $3.06 + $1.00 = $16.29. If you're seeing quotes below this, check whether they included all the items—some suppliers quote only the machine and material, leaving you to pay for setup and shipping separately.

A worker focused on welding metal inside an industrial setting with sparks flying. (Photo: Tima Miroshnichenko / Pexels)

Benchmark Ranges Across Materials and Regions (2025)

Based on our directory data and industry averages, here are typical cost ranges for a simple bracket (e.g., 100×50×30 mm, 4 holes, moderate tolerances) in quantities of 100–500 parts. These are total landed costs, including setup amortization and basic packaging, but excluding international shipping.

MaterialChina (per part)US (per part)Europe (per part)
Aluminum 6061$2.80 – $5.50$8.00 – $15.00$10.00 – $18.00
Steel (e.g., 4140)$4.00 – $8.00$12.00 – $22.00$15.00 – $25.00
Plastic (POM, Nylon)$3.00 – $6.00$9.00 – $16.00$11.00 – $18.00

Note: Our directory lists 1 verified supplier and 4 products in this category, including an Automotive Control Arm Bracket at $8.50, a Construction Steel Hinge Bracket at $12.00, an Aluminum Rail Mounting Plate at $2.80, and a Heavy-Duty Steel Locking Bracket at $9.50. These are actual observed unit prices, so use them as sanity checks for your own quotes.

Red Flags to Watch For

Not all low quotes are good deals. Watch for these warning signs:

  • Unit price without setup fee – If the supplier doesn't mention setup, they may be hiding it in the unit price or adding it later.
  • Extremely low machine rates – Below $40/hour in China might mean outdated equipment or poor maintenance, leading to tolerance issues.
  • No material certification – Especially for steel or aerospace alloys, always ask for mill certificates.
  • Vague QC process – If they can't describe how they check tolerances, your parts may arrive out of spec.
  • Shipping costs quoted separately – This is normal, but get a firm estimate before placing the order.

Questions to Ask Every Supplier

To get an accurate quote, ask these specific questions:

  1. What is your machine hourly rate for a 3-axis mill? For a 5-axis?
  2. What is the setup fee for this part, and is it one-time or per batch?
  3. Do you include tooling wear in the unit price or as a separate line item?
  4. Can you provide a breakdown of material cost, including scrap factor?
  5. What is your packaging cost per part for international shipment?
  6. Do you provide a free First Article Inspection report?
  7. What is your lead time, and does it include QC and packing?

Practical Checklists for International Buyers

Before Requesting Quotes

  • Have a complete 2D/3D drawing with tolerances and surface finish.
  • Define order quantity and target delivery date.
  • List required certifications (ISO, IATF, etc.).
  • Decide on packaging and shipping method (air vs. sea).

When Comparing Quotes

  • Use the calculator template to normalize all quotes.
  • Verify that each quote includes setup, tooling, and QC.
  • Check if the supplier has experience with your industry (e.g., automotive, construction).
  • Look for red flags like unexplained low prices or lack of communication.

Before Placing an Order

  • Request a sample part or a pilot run.
  • Get a written contract with payment terms (e.g., 30% deposit, 70% before shipment).
  • Confirm the Incoterms (FOB, CIF, etc.) to avoid surprise costs.
  • Ask for a production schedule with milestones.

How to Use the CNC Machining Cost Per Part Calculator in Negotiations

Armed with your calculated cost, you can negotiate more effectively. If a Chinese supplier quotes $3.50 for an aluminum part, but your calculator says the true cost should be $4.20, you can ask them to justify the difference. Conversely, if they quote $6.00, you can point out that the market benchmark is $2.80–$5.50 and ask for a breakdown. This data-driven approach builds trust and helps you avoid overpaying.

Conclusion

Calculating the true CNC machining cost per part is not about finding the lowest price—it's about understanding what you're paying for. By using the step-by-step calculator and benchmark ranges provided, you can make informed decisions, negotiate with confidence, and avoid hidden fees. Remember, a reliable supplier in China can offer significant savings, but only if you know how to evaluate the numbers. Start with our directory's verified suppliers to get a baseline, and always ask for a detailed quote breakdown.

Frequently Asked Questions

1. Why is there such a wide price range for the same part?

The range reflects differences in machine hourly rates, material sourcing, setup amortization, and overhead. A small aluminum bracket can cost $2.80 in China but $15.00 in the US because of labor and overhead costs. Always ask for a detailed breakdown to understand what's included.

2. How do I account for shipping costs in the cost per part?

Shipping depends on weight, dimensions, and freight method. For air freight, calculate the volumetric weight and divide by the number of parts. For sea freight, allocate a fixed cost per batch. Always ask the supplier for a shipping quote before finalizing.

3. What is a reasonable setup fee for a small CNC job?

For a simple part, setup fees range from $50 to $150 in China, and $150 to $300 in the US/Europe. If the setup fee is disproportionately high for a small order, consider increasing the quantity to amortize it.

Ready to source from verified suppliers? Get free quotes and compare offers within 24 hours.

Frequently Asked Questions

Why is there such a wide price range for the same part?

The range reflects differences in machine hourly rates, material sourcing, setup amortization, and overhead. A small aluminum bracket can cost $2.80 in China but $15.00 in the US because of labor and overhead costs. Always ask for a detailed breakdown to understand what's included.

How do I account for shipping costs in the cost per part?

Shipping depends on weight, dimensions, and freight method. For air freight, calculate the volumetric weight and divide by the number of parts. For sea freight, allocate a fixed cost per batch. Always ask the supplier for a shipping quote before finalizing.

What is a reasonable setup fee for a small CNC job?

For a simple part, setup fees range from $50 to $150 in China, and $150 to $300 in the US/Europe. If the setup fee is disproportionately high for a small order, consider increasing the quantity to amortize it.

Ready to Get Your CNC Parts Made in China

Get matched with verified suppliers who can meet your exact specifications.

Get Free Quotes
基本 文件 流程 错误 SQL 调试
  1. 请求信息 : 2026-08-12 15:30:42 HTTP/2.0 GET : https://cnc-parts-china.com/guides/how-to-calculate-cnc-machining-cost-per-part-a-2025-pricing-formula-for-international-buyers
  2. 运行时间 : 0.100823s [ 吞吐率:9.92req/s ] 内存消耗:5,222.43kb 文件加载:153
  3. 缓存信息 : 0 reads,0 writes
  4. 会话信息 : SESSION_ID=6f353976a1d9e84b585f6ebc0814f452
  1. /www/wwwroot/www.cnc-parts-china.com/public/index.php ( 0.79 KB )
  2. /www/wwwroot/www.cnc-parts-china.com/vendor/autoload.php ( 0.75 KB )
  3. /www/wwwroot/www.cnc-parts-china.com/vendor/composer/autoload_real.php ( 1.63 KB )
  4. /www/wwwroot/www.cnc-parts-china.com/vendor/composer/platform_check.php ( 0.90 KB )
  5. /www/wwwroot/www.cnc-parts-china.com/vendor/composer/ClassLoader.php ( 15.99 KB )
  6. /www/wwwroot/www.cnc-parts-china.com/vendor/composer/autoload_static.php ( 6.03 KB )
  7. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-helper/src/helper.php ( 8.34 KB )
  8. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-validate/src/helper.php ( 2.19 KB )
  9. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/helper.php ( 1.47 KB )
  10. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/stubs/load_stubs.php ( 0.16 KB )
  11. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Exception.php ( 1.69 KB )
  12. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-container/src/Facade.php ( 2.71 KB )
  13. /www/wwwroot/www.cnc-parts-china.com/vendor/ralouphie/getallheaders/src/getallheaders.php ( 1.60 KB )
  14. /www/wwwroot/www.cnc-parts-china.com/vendor/symfony/polyfill-mbstring/bootstrap.php ( 8.26 KB )
  15. /www/wwwroot/www.cnc-parts-china.com/vendor/symfony/polyfill-mbstring/bootstrap80.php ( 9.78 KB )
  16. /www/wwwroot/www.cnc-parts-china.com/vendor/symfony/var-dumper/Resources/functions/dump.php ( 0.99 KB )
  17. /www/wwwroot/www.cnc-parts-china.com/vendor/ezyang/htmlpurifier/library/HTMLPurifier.composer.php ( 0.10 KB )
  18. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-dumper/src/helper.php ( 0.18 KB )
  19. /www/wwwroot/www.cnc-parts-china.com/vendor/symfony/var-dumper/VarDumper.php ( 3.73 KB )
  20. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/App.php ( 15.30 KB )
  21. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-container/src/Container.php ( 15.76 KB )
  22. /www/wwwroot/www.cnc-parts-china.com/vendor/psr/container/src/ContainerInterface.php ( 1.02 KB )
  23. /www/wwwroot/www.cnc-parts-china.com/app/provider.php ( 0.19 KB )
  24. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Http.php ( 6.22 KB )
  25. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-helper/src/helper/Str.php ( 7.29 KB )
  26. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Env.php ( 4.68 KB )
  27. /www/wwwroot/www.cnc-parts-china.com/app/common.php ( 0.90 KB )
  28. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/helper.php ( 18.77 KB )
  29. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Config.php ( 5.93 KB )
  30. /www/wwwroot/www.cnc-parts-china.com/config/app.php ( 0.95 KB )
  31. /www/wwwroot/www.cnc-parts-china.com/config/cache.php ( 0.78 KB )
  32. /www/wwwroot/www.cnc-parts-china.com/config/console.php ( 1.07 KB )
  33. /www/wwwroot/www.cnc-parts-china.com/config/cookie.php ( 0.56 KB )
  34. /www/wwwroot/www.cnc-parts-china.com/config/database.php ( 2.13 KB )
  35. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/facade/Env.php ( 1.67 KB )
  36. /www/wwwroot/www.cnc-parts-china.com/config/filesystem.php ( 0.61 KB )
  37. /www/wwwroot/www.cnc-parts-china.com/config/lang.php ( 0.91 KB )
  38. /www/wwwroot/www.cnc-parts-china.com/config/log.php ( 1.35 KB )
  39. /www/wwwroot/www.cnc-parts-china.com/config/middleware.php ( 0.19 KB )
  40. /www/wwwroot/www.cnc-parts-china.com/config/route.php ( 2.27 KB )
  41. /www/wwwroot/www.cnc-parts-china.com/config/session.php ( 0.69 KB )
  42. /www/wwwroot/www.cnc-parts-china.com/config/trace.php ( 0.34 KB )
  43. /www/wwwroot/www.cnc-parts-china.com/config/view.php ( 0.82 KB )
  44. /www/wwwroot/www.cnc-parts-china.com/app/event.php ( 0.25 KB )
  45. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Event.php ( 7.77 KB )
  46. /www/wwwroot/www.cnc-parts-china.com/app/service.php ( 0.13 KB )
  47. /www/wwwroot/www.cnc-parts-china.com/app/AppService.php ( 0.26 KB )
  48. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Service.php ( 1.64 KB )
  49. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Lang.php ( 7.35 KB )
  50. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/lang/zh-cn.php ( 13.70 KB )
  51. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/initializer/Error.php ( 3.31 KB )
  52. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/initializer/RegisterService.php ( 1.33 KB )
  53. /www/wwwroot/www.cnc-parts-china.com/vendor/services.php ( 0.15 KB )
  54. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/service/PaginatorService.php ( 1.52 KB )
  55. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/service/ValidateService.php ( 0.99 KB )
  56. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/service/ModelService.php ( 2.04 KB )
  57. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-trace/src/Service.php ( 0.77 KB )
  58. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Middleware.php ( 6.72 KB )
  59. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/initializer/BootService.php ( 0.77 KB )
  60. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/Paginator.php ( 11.86 KB )
  61. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-validate/src/Validate.php ( 63.20 KB )
  62. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/Model.php ( 23.55 KB )
  63. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-helper/src/contract/Arrayable.php ( 0.09 KB )
  64. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-helper/src/contract/Jsonable.php ( 0.13 KB )
  65. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/model/contract/Modelable.php ( 0.09 KB )
  66. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/model/concern/Attribute.php ( 21.05 KB )
  67. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/model/concern/AutoWriteData.php ( 4.20 KB )
  68. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/model/concern/Conversion.php ( 6.75 KB )
  69. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/model/concern/DbConnect.php ( 5.16 KB )
  70. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/model/concern/ModelEvent.php ( 2.33 KB )
  71. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/model/concern/RelationShip.php ( 28.30 KB )
  72. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Db.php ( 2.88 KB )
  73. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/DbManager.php ( 8.52 KB )
  74. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Log.php ( 6.28 KB )
  75. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Manager.php ( 3.92 KB )
  76. /www/wwwroot/www.cnc-parts-china.com/vendor/psr/log/src/LoggerInterface.php ( 2.71 KB )
  77. /www/wwwroot/www.cnc-parts-china.com/vendor/psr/log/src/LoggerTrait.php ( 2.69 KB )
  78. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Cache.php ( 4.92 KB )
  79. /www/wwwroot/www.cnc-parts-china.com/vendor/psr/simple-cache/src/CacheInterface.php ( 4.71 KB )
  80. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-helper/src/helper/Arr.php ( 17.45 KB )
  81. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/cache/driver/File.php ( 7.84 KB )
  82. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/cache/Driver.php ( 9.02 KB )
  83. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/contract/CacheHandlerInterface.php ( 1.99 KB )
  84. /www/wwwroot/www.cnc-parts-china.com/app/Request.php ( 0.09 KB )
  85. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Request.php ( 54.64 KB )
  86. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/traits/UrlHandler.php ( 6.05 KB )
  87. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/traits/DomainHandler.php ( 5.49 KB )
  88. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/traits/HttpMethodHandler.php ( 4.74 KB )
  89. /www/wwwroot/www.cnc-parts-china.com/app/middleware.php ( 0.30 KB )
  90. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Pipeline.php ( 2.61 KB )
  91. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-trace/src/TraceDebug.php ( 3.40 KB )
  92. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/middleware/SessionInit.php ( 1.94 KB )
  93. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Session.php ( 1.80 KB )
  94. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/session/driver/File.php ( 6.27 KB )
  95. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/contract/SessionHandlerInterface.php ( 0.87 KB )
  96. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/session/Store.php ( 7.12 KB )
  97. /www/wwwroot/www.cnc-parts-china.com/app/middleware/InstallCheck.php ( 0.82 KB )
  98. /www/wwwroot/www.cnc-parts-china.com/app/middleware/Maintenance.php ( 1.64 KB )
  99. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/facade/Db.php ( 0.93 KB )
  100. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/connector/Mysql.php ( 5.73 KB )
  101. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/PDOConnection.php ( 53.74 KB )
  102. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/Connection.php ( 8.39 KB )
  103. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/ConnectionInterface.php ( 4.57 KB )
  104. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/builder/Mysql.php ( 16.58 KB )
  105. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/Builder.php ( 24.07 KB )
  106. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/BaseBuilder.php ( 27.50 KB )
  107. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/Query.php ( 15.97 KB )
  108. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/BaseQuery.php ( 45.13 KB )
  109. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/concern/TimeFieldQuery.php ( 7.43 KB )
  110. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/concern/AggregateQuery.php ( 3.26 KB )
  111. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/concern/ModelRelationQuery.php ( 20.07 KB )
  112. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/concern/ParamsBind.php ( 3.66 KB )
  113. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/concern/ResultOperation.php ( 7.01 KB )
  114. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/concern/WhereQuery.php ( 19.37 KB )
  115. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/concern/JoinAndViewQuery.php ( 7.11 KB )
  116. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/concern/TableFieldInfo.php ( 2.63 KB )
  117. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/concern/Transaction.php ( 2.77 KB )
  118. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/log/driver/File.php ( 6.10 KB )
  119. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/contract/LogHandlerInterface.php ( 0.86 KB )
  120. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/log/Channel.php ( 3.89 KB )
  121. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/event/LogRecord.php ( 1.02 KB )
  122. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Route.php ( 23.73 KB )
  123. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/route/RuleName.php ( 5.74 KB )
  124. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/route/Domain.php ( 2.53 KB )
  125. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/route/RuleGroup.php ( 22.41 KB )
  126. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/route/Rule.php ( 27.49 KB )
  127. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/route/RuleItem.php ( 9.78 KB )
  128. /www/wwwroot/www.cnc-parts-china.com/route/admin.php ( 11.49 KB )
  129. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/facade/Route.php ( 4.70 KB )
  130. /www/wwwroot/www.cnc-parts-china.com/route/app.php ( 3.73 KB )
  131. /www/wwwroot/www.cnc-parts-china.com/route/install.php ( 0.59 KB )
  132. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/route/dispatch/Controller.php ( 4.74 KB )
  133. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/route/Dispatch.php ( 11.32 KB )
  134. /www/wwwroot/www.cnc-parts-china.com/app/controller/content/Guide.php ( 1.71 KB )
  135. /www/wwwroot/www.cnc-parts-china.com/app/controller/front/BaseFrontController.php ( 70.19 KB )
  136. /www/wwwroot/www.cnc-parts-china.com/app/BaseController.php ( 6.06 KB )
  137. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/facade/View.php ( 1.70 KB )
  138. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/facade/Config.php ( 1.37 KB )
  139. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/View.php ( 4.39 KB )
  140. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/facade/Session.php ( 1.79 KB )
  141. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-helper/src/Collection.php ( 16.47 KB )
  142. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/Express.php ( 1.53 KB )
  143. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/Raw.php ( 1.30 KB )
  144. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Response.php ( 9.07 KB )
  145. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/response/View.php ( 3.29 KB )
  146. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Cookie.php ( 6.06 KB )
  147. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-view/src/Think.php ( 8.38 KB )
  148. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/contract/TemplateHandlerInterface.php ( 1.60 KB )
  149. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-template/src/Template.php ( 46.61 KB )
  150. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-template/src/template/driver/File.php ( 2.41 KB )
  151. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-template/src/template/contract/DriverInterface.php ( 0.86 KB )
  152. /www/wwwroot/www.cnc-parts-china.com/runtime/temp/7ca10c289ae36b7629e662dcf2e3aff0.php ( 14.04 KB )
  153. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-trace/src/Html.php ( 4.42 KB )
  1. CONNECT:[ UseTime:0.000600s ] mysql:host=127.0.0.1;port=3306;dbname=cncpartsch;charset=utf8mb4
  2. SHOW FULL COLUMNS FROM `kt_system_config` [ RunTime:0.001440s ]
  3. SELECT `config_value` FROM `kt_system_config` WHERE `config_key` = 'maintenance_mode' LIMIT 1 [ RunTime:0.000552s ]
  4. SHOW TABLES LIKE 'kt_site' [ RunTime:0.001379s ]
  5. SHOW FULL COLUMNS FROM `kt_site` [ RunTime:0.001610s ]
  6. SELECT `favicon` FROM `kt_site` ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000521s ]
  7. SHOW TABLES LIKE 'kt_system_config' [ RunTime:0.000921s ]
  8. SELECT `config_value` FROM `kt_system_config` WHERE `config_key` = 'site_favicon' LIMIT 1 [ RunTime:0.000342s ]
  9. SELECT `logo` FROM `kt_site` ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000261s ]
  10. SELECT `config_value` FROM `kt_system_config` WHERE `config_key` = 'site_logo' LIMIT 1 [ RunTime:0.000245s ]
  11. SELECT `name` FROM `kt_site` ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000207s ]
  12. SELECT * FROM `kt_site` ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000357s ]
  13. SELECT `config_value`,`config_key` FROM `kt_system_config` WHERE `config_key` IN ('site_name','site_domain','site_subtitle','site_description','site_logo','site_favicon','site_keywords','seo_home_title','seo_home_description','seo_home_keywords','contact_phone','contact_wechat','icp_code') [ RunTime:0.000348s ]
  14. SHOW FULL COLUMNS FROM `kt_category` [ RunTime:0.001249s ]
  15. SHOW COLUMNS FROM `kt_category` [ RunTime:0.001058s ]
  16. SELECT * FROM `kt_category` WHERE `parent_id` = 0 AND `site_id` = 1 AND `status` = 1 ORDER BY `sort` DESC,`id` ASC LIMIT 5 [ RunTime:0.000558s ]
  17. SHOW FULL COLUMNS FROM `kt_news` [ RunTime:0.001268s ]
  18. SELECT * FROM `kt_news` WHERE `site_id` = 1 AND `slug` = 'how-to-calculate-cnc-machining-cost-per-part-a-2025-pricing-formula-for-international-buyers' AND `content_type` = 'buying_guide' AND `publish_status` = 'published' LIMIT 1 [ RunTime:0.000553s ]
  19. UPDATE `kt_news` SET `views` = `views` + 1 WHERE `id` = 224 [ RunTime:0.002752s ]
  20. SHOW FULL COLUMNS FROM `kt_news_data` [ RunTime:0.001276s ]
  21. SELECT * FROM `kt_news_data` WHERE `news_id` = 224 LIMIT 1 [ RunTime:0.000585s ]
  22. SELECT * FROM `kt_news` WHERE `site_id` = 1 AND `publish_status` = 'published' AND `category_id` = 80 AND `id` <> 224 AND `content_type` IN ('article','buying_guide','comparison','case_study') ORDER BY content_type = 'buying_guide' DESC,`id` DESC LIMIT 8 [ RunTime:0.003099s ]
0.108798s